package edu.lit.cn.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;
import java.util.HashMap;

@Mapper
public interface TestMapper {
    @ResultType(HashMap.class)
    @Select("select * from t_device")
    ArrayList<HashMap<String,Object>> getAll();
}
